using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("PhaBaseInfo")]
    public partial class PhaBaseInfo : BaseModel2
    {

        /// <summary>
        /// 药品编码
        /// </summary>
        [SugarColumn(ColumnName = "DrugCode")]
        public string DrugCode { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        [SugarColumn(ColumnName = "DrugName")]
        public string DrugName { get; set; }

        /// <summary>
        /// 拼音码
        /// </summary>
        [SugarColumn(ColumnName = "SpellCode")]
        public string SpellCode { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [SugarColumn(ColumnName = "Specs")]
        public string Specs { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        [SugarColumn(ColumnName = "UnitPrice")]
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 生产企业名称
        /// </summary>
        [SugarColumn(ColumnName = "ProducerName")]
        public string ProducerName { get; set; }

        /// <summary>
        /// 包装单位
        /// </summary>
        [SugarColumn(ColumnName = "PackUnit")]
        public string PackUnit { get; set; }

        /// <summary>
        /// 包装数量
        /// </summary>
        [SugarColumn(ColumnName = "PackQty")]
        public decimal PackQty { get; set; }

        /// <summary>
        /// 最小单位
        /// </summary>
        [SugarColumn(ColumnName = "MinUnit")]
        public string MinUnit { get; set; }

        /// <summary>
        /// 药品分类
        /// </summary>
        [SugarColumn(ColumnName = "FeeCode")]
        public string FeeCode { get; set; }

        /// <summary>
        /// 是否抗菌药物 1是0否
        /// </summary>
        [SugarColumn(ColumnName = "IsAnti")]
        public string IsAnti { get; set; }

        /// <summary>
        /// 是否有效 1是0否
        /// </summary>
        [SugarColumn(ColumnName = "ValidFlag")]
        public string ValidFlag { get; set; } = "1";

        /// <summary>
        /// 操作人
        /// </summary>
        [SugarColumn(ColumnName = "OperCode")]
        public string OperCode { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        [SugarColumn(ColumnName = "OperDate")]
        public DateTime OperDate { get; set; }

    }
}